﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewRefund.aspx.cs" Inherits="CustomerService.NewRefund" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>New Refund</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:HiddenField ID="txtLoaded" runat="server" />
        <h1>Create a new Refund</h1>
        <asp:DropDownList ID="ddRefundReason" runat="server" />
        <table cellpadding="0" cellspacing="0" >
            <tr>
                <td></td><td>Amount</td><td>Maximum Amount</td>
            </tr>
            <asp:ListView ID="ListView1" runat="server" DataKeyNames="RefundID">
                <LayoutTemplate>
                    <tr id="itemPlaceholder" runat="server"></tr>
                </LayoutTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <%# Eval("LineDescription")  %>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCost" runat="server" Text='<%# Bind("Cost") %>' />
                        </td>
                        <td>
                            <%# Eval("MaxCost")  %>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:ListView>
        </table>
        <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="Done" />
    </div>
    </form>
</body>
</html>
